package com.ucenter.server.org.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ucenter.server.org.pojo.PositionUser;

/**
 * position_user的Dao
 * @author autoCode
 * @date 2018-12-01 09:50:14
 * @version V1.0.0
 */
public interface PositionUserDao {

	public abstract void save(PositionUser positionUser);

	public abstract void update(PositionUser positionUser);

	public abstract void delete(@Param("userId")String userId, @Param("positionId")String positionId);

	public abstract PositionUser get(@Param("userId")String userId, @Param("positionId")String positionId);

	public abstract List<PositionUser> findPositionUser(PositionUser positionUser);
	
	public abstract int findPositionUserCount(PositionUser positionUser);

	public abstract List<PositionUser> findByUserId(@Param("userId")String userId);

	public abstract void deleteByUserId(@Param("userId")String userId);
}